package agentspeakeditor.editors.common.AST.Line;

import agentspeakeditor.editors.common.checker.SemanticException;
import agentspeakeditor.editors.common.checker.Visitor;

public class Plan extends Line{
	
	private Event event;
	private Context context;
	private Body body;	
	
	public Event getEvent() {
		return event;
	}

	public void setEvent(Event event) {
		this.event = event;
	}

	public Context getContext() {
		return context;
	}

	public void setContext(Context context) {
		this.context = context;
	}

	public Body getBody() {
		return body;
	}

	public void setBody(Body body) {
		this.body = body;
	}

	public Plan(Event event, Context context, Body body){
		this.body = body;
		this.context = context;
		this.event = event;
	}

	@Override
	public Object visit(Visitor v, Object arg) throws SemanticException {
		return v.visitPlan(this, arg);
	}

	@Override
	public String toString(int level) {
		// TODO Auto-generated method stub
		return null;
	}

}
